package com.onlineMIS.action.headQ.inventory;

import java.io.File;
import java.io.InputStream;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import javassist.expr.NewArray;

import com.onlineMIS.ORM.entity.headQ.inventoryFlow.HeadQInventoryStore;
import com.onlineMIS.ORM.entity.headQ.inventory.InventoryOrder;
import com.onlineMIS.ORM.entity.headQ.user.UserInfor;
import com.onlineMIS.common.Common_util;

public class InventoryOrderActionFormBean implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4371903022162799876L;
	
	private HeadQInventoryStore store = new HeadQInventoryStore();

	private InventoryOrder order = new InventoryOrder();
	private UserInfor user = new UserInfor();
	
    //the two is for the search bean
	private Date search_Start_Time = Common_util.getToday();
    private Date search_End_Time = Common_util.getToday();
    private String sorting = "false";
    
    //file upload
    private File orderExcel = null;
    private String orderExcelContentType;
    private String orderExcelFileName;
    private InputStream fileStream; 
    private String fileName;
    
    private String productIds = "";
    private String pbIds = "";
    private String orderIds = "";
    
    private String barcode;
    
	private Integer tagLevelOne;
	private Integer tagLevelTwo;
	private Integer tagLevelThree;
	private Integer tagLevelFour;
	private String tagGroups;
    
    

	
	public String getTagGroups() {
		return tagGroups;
	}

	public void setTagGroups(String tagGroups) {
		this.tagGroups = tagGroups;
	}

	public String getPbIds() {
		return pbIds;
	}

	public void setPbIds(String pbIds) {
		this.pbIds = pbIds;
	}

	public String getBarcode() {
		return barcode;
	}

	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	public String getProductIds() {
		return productIds;
	}

	public void setProductIds(String productIds) {
		this.productIds = productIds;
	}
    
    //indicator of preview
    private boolean isPreview;
    
    //client pinyin code
    private String pinyin;
    
    private Map<Integer, String> clientMap = new HashMap<Integer, String>();
    
    /**
     * 0 ： 品类
     * 1 : 品牌
     */
    private int downloadOrderType = 0;
    
    
    
    
	public HeadQInventoryStore getStore() {
		return store;
	}

	public void setStore(HeadQInventoryStore store) {
		this.store = store;
	}

	public int getDownloadOrderType() {
		return downloadOrderType;
	}

	public void setDownloadOrderType(int downloadOrderType) {
		this.downloadOrderType = downloadOrderType;
	}

	public UserInfor getUser() {
		return user;
	}

	public void setUser(UserInfor user) {
		this.user = user;
	}

	public String getPinyin() {
		return pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}

	public boolean getIsPreview() {
		return isPreview;
	}

	public void setIsPreview(boolean isPreview) {
		this.isPreview = isPreview;
	}

	public InventoryOrder getOrder() {
		return order;
	}

	public void setOrder(InventoryOrder order) {
		this.order = order;
	}
	public String getSorting() {
		return sorting;
	}

	public void setSorting(String sorting) {
		this.sorting = sorting;
	}
	public Date getSearch_Start_Time() {
		return search_Start_Time;
	}

	public void setSearch_Start_Time(Date search_Start_Time) {
		this.search_Start_Time = search_Start_Time;
	}

	public Date getSearch_End_Time() {
		return search_End_Time;
	}

	public void setSearch_End_Time(Date search_End_Time) {
		this.search_End_Time = search_End_Time;
	}

	public File getOrderExcel() {
		return orderExcel;
	}

	public void setOrderExcel(File orderExcel) {
		this.orderExcel = orderExcel;
	}

	public String getOrderExcelContentType() {
		return orderExcelContentType;
	}

	public void setOrderExcelContentType(String orderExcelContentType) {
		this.orderExcelContentType = orderExcelContentType;
	}

	public String getOrderExcelFileName() {
		return orderExcelFileName;
	}

	public void setOrderExcelFileName(String orderExcelFileName) {
		this.orderExcelFileName = orderExcelFileName;
	}

	public Map<Integer, String> getClientMap() {
		return clientMap;
	}

	public void setClientMap(Map<Integer, String> clientMap) {
		this.clientMap = clientMap;
	}

	public InputStream getFileStream() {
		return fileStream;
	}

	public void setFileStream(InputStream fileStream) {
		this.fileStream = fileStream;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Integer getTagLevelOne() {
		return tagLevelOne;
	}

	public void setTagLevelOne(Integer tagLevelOne) {
		this.tagLevelOne = tagLevelOne;
	}

	public Integer getTagLevelTwo() {
		return tagLevelTwo;
	}

	public void setTagLevelTwo(Integer tagLevelTwo) {
		this.tagLevelTwo = tagLevelTwo;
	}

	public Integer getTagLevelThree() {
		return tagLevelThree;
	}

	public void setTagLevelThree(Integer tagLevelThree) {
		this.tagLevelThree = tagLevelThree;
	}

	public Integer getTagLevelFour() {
		return tagLevelFour;
	}

	public void setTagLevelFour(Integer tagLevelFour) {
		this.tagLevelFour = tagLevelFour;
	}

	public String getOrderIds() {
		return orderIds;
	}

	public void setOrderIds(String orderIds) {
		this.orderIds = orderIds;
	}
	
	
}
